Skip to content

Conversation

ryanwilson
Copy link
Member

Description

Add presencePenalty and frequencyPenalty to GenerationConfig

Added tests to check if this properties are being send in the request to the API.

Related Issues

Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

  • [X ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • [X ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • [ X] All existing and new tests are passing.
  • [X ] I updated/added relevant documentation (doc comments with ///).
  • The analyzer (melos run analyze) does not report any problems on my PR.
  • [ X] I read and followed the Flutter Style Guide.
  • [ X] I signed the CLA.
  • [X ] I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • [X ] No, this is not a breaking change.

google-labs-jules bot and others added 6 commits February 6, 2025 21:31
Added  and  to the  class in .
Also updated the  method to include this properties.
Added tests to check if this properties are being send in the request to the API.
@cynthiajoan cynthiajoan changed the title feat: Add presencePenalty and frequencyPenalty to GenerationConfig feat(vertexai): Add presencePenalty and frequencyPenalty to GenerationConfig Feb 10, 2025
@cynthiajoan
Copy link
Collaborator

close since the feature is added in #17234

@cynthiajoan cynthiajoan closed this Jun 3, 2025
@firebase firebase locked and limited conversation to collaborators Jul 18, 2025
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants